use lgrep::arg_parser::Config;
use lgrep::arg_parser::Parser;
use lgrep::app;
use std::process;

fn main() {
    let config = Config::parse();

    if let Err(e) = app::run(config) {
        println!("Application error: {}", e);
        process::exit(1);
    }
}

